Domain's console tty now lives at serial/0/tty in xenstore.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
def diagnose_console():
port = xstransact.Read(dompath + '/console/port')
ringref = xstransact.Read(dompath + '/console/ring-ref')
- tty = xstransact.Read(dompath + '/console/tty')
+ tty = xstransact.Read(dompath + '/serial/0/tty')
if not port:
print "Console port is missing; Xend has failed."
fcntl.fcntl(m1, fcntl.F_SETFL, os.O_NDELAY)
slavename = ptsname.ptsname(m1)
- dom.storeDom("console/tty", slavename)
+ dom.storeDom("serial/0/tty", slavename)
# Release the domain lock here, because we definitely don't want
# a stuck bootloader to deny service to other xend clients.